package com.ruoyi.report_jl.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 粗集料坚固性、软弱颗粒含量试验检测记录详情业务对象 report_jl_cjljgxrrkljlb_ba_detail
 *
 * @author tll
 * @date 2024-05-23
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ReportJlCjljgxrrkljlbBaDetailBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long detailId;

    /**
     * 主表id
     */
    @NotNull(message = "主表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long excelId;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 坚固性试验公称粒级（mm）
     */
    @NotNull(message = "坚固性试验公称粒级（mm）不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal jiangxsygclj;

    /**
     * 坚固性试验各粒级试样试验前的烘干质量mi（g）
     */
    @NotNull(message = "坚固性试验各粒级试样试验前的烘干质量mi（g）不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal jiangxsygljsysyqhgzl;

    /**
     * 坚固性试验试验后各粒级筛余颗粒的烘干质量mi（g）
     */
    @NotNull(message = "坚固性试验试验后各粒级筛余颗粒的烘干质量mi（g）不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal jiangxsyhgljsyklhgzl;

    /**
     * 坚固性试验各粒级试样的分计质量损失百分率（%）
     */
    @NotNull(message = "坚固性试验各粒级试样的分计质量损失百分率（%）不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal jiangxsygljfjzlssbfl;

    /**
     * 坚固性试验试样中各粒级的分计质量mi（g）
     */
    @NotNull(message = "坚固性试验试样中各粒级的分计质量mi（g）不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal jiangxsygljfjzl;

    /**
     * 坚固性试验试样的总质量
     */
    @NotNull(message = "坚固性试验试样的总质量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal jiangxsysyzzl;

    /**
     * 坚固性试验损失百分率（%）
     */
    @NotNull(message = "坚固性试验损失百分率（%）不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal jiangxsyssbfl;


}
